package com.chendx.store.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chendx.model.common.dtos.ResponseResult;
import com.chendx.model.goods.dto.SpecDto;
import com.chendx.model.goods.pojo.Spec;

/**
 * Created by chendx on 2022/4/19.
 */
public interface SpecService extends IService<Spec> {
    ResponseResult loadSpec(SpecDto dto);

    ResponseResult loadByCategory(Integer categoryId);

    ResponseResult one(Integer id);

    ResponseResult add(SpecDto dto);

    ResponseResult findNoTemplateList();

    ResponseResult loadByCid(Integer categoryId);
}
